package zhtt.biz.web.entity;

import java.util.List;

public class PageInfo<T> {

    private int current;

    private int size;

    private int totalRecord;

    private List<T> rows;

    public PageInfo() {
    }

    public PageInfo(int current, int size, int totalRecord, List<T> rows) {
        this.current = current;
        this.size = size;
        this.totalRecord = totalRecord;
        this.rows = rows;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotalRecord() {
        return totalRecord;
    }

    public void setTotalRecord(int totalRecord) {
        this.totalRecord = totalRecord;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
